package pub.dsb.spring.bean.componentscan;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author Yi
 * @version V1.0.0
 * @date 2020/12/11 16:43
 * @modificationHistory=========================逻辑或功能性重大变更记录
 * @modify By: {修改人} 2020/12/11 16:43
 * @modify reason: {方法名}:{原因}
 * ...
 * @since V1.0.0
 */
@Component
@AllArgsConstructor
@NoArgsConstructor
public class HelloBean {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "HelloBean{" +
                "name='" + name + '\'' +
                '}';
    }
}
